# -*-coding:utf-8-*-
import time
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
from selenium.webdriver import Remote
from selenium import webdriver

#启动浏览器驱动
def browser():
    driver=webdriver.Firefox()
    return driver
if __name__=='__main__':
    dr=browser()
    dr.get("http://www.baidu.com")
    dr.quit()